package com.designpattern.agency;

/**
 * @author Liusr
 * @date 2023/3/4
 * @package com.designpattern.agency
 * @Description: 代理类实现
 */
public class ProxySuitors implements GiveGift{

	private Suitors gg;

	public ProxySuitors(String girl) {
        gg = new Suitors(girl);
    }

	@Override
	public void giveDolls() {
		gg.giveDolls();
	}

	@Override
	public void giveFlowers() {
		gg.giveFlowers();
	}

	@Override
	public void giveChocolate() {
		gg.giveChocolate();
	}
}
